﻿using System;


/// <summary>
/// Summary description for CarPolicy
/// </summary>
namespace CE.CarInsurance
{
    public class CarPolicy
    {
        public CarPolicy()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }
        private Int64 _cecarpolicyid;
        private Int64 _cecarid;
        private string _typeofcoverage;
        private DateTime _coveragecommencedate;
        private float _ncdpercent;
        private bool _isclaimlastthreeyear;
        private bool _isinscoe;
        private bool _isdrivemyorth;
        private string _excesspreference;
        private bool _isoffdrivecom;
        private string _tpdp;
        private bool _isncdprotection;
        private bool _ischangeve;
        private int _incdesexcess;
        private bool _ismaindriver;
        private bool _isadddriver;
        private Int16 _noofdriver;
        private Int64 _refceuserid;
        private int _currentstep;
        private Int64 _vieweddetailid;
        //common field name
        private string _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private string _info11;
        private string _info12;
        private string _info13;
        private string _info14;
        private string _info15;
        private string _info16;
        private string _info17;
        private string _info18;
        private string _info19;
        private string _info20;

        public Int64 CECarPolicyId
        {
            get { return _cecarpolicyid; }
            set { _cecarpolicyid = value; }
        }

        public Int64 CECarId
        {
            get { return _cecarid; }
            set { _cecarid = value; }
        }

        public string TypeOfCoverage
        {
            get { return _typeofcoverage; }
            set { _typeofcoverage = value; }
        }

        public DateTime CoverageCommenceDate
        {
            get { return _coveragecommencedate; }
            set { _coveragecommencedate = value; }
        }

        public float NCDPercent
        {
            get { return _ncdpercent; }
            set { _ncdpercent = value; }
        }

        public bool IsClaimLastThreeYear
        {
            get { return _isclaimlastthreeyear; }
            set { _isclaimlastthreeyear = value; }
        }

        public bool IsInsCOE
        {
            get { return _isinscoe; }
            set { _isinscoe = value; }
        }

        public bool IsDriveMyOrTh
        {
            get { return _isdrivemyorth; }
            set { _isdrivemyorth = value; }
        }

        public string ExcessPreference
        {
            get { return _excesspreference; }
            set { _excesspreference = value; }
        }

        public bool IsOffDriveCom
        {
            get { return _isoffdrivecom; }
            set { _isoffdrivecom = value; }
        }

        public string TPDP
        {
            get { return _tpdp; }
            set { _tpdp = value; }
        }

        public bool IsNCDProtection
        {
            get { return _isncdprotection; }
            set { _isncdprotection = value; }
        }

        public bool IsChangeVE
        {
            get { return _ischangeve; }
            set { _ischangeve = value; }
        }

        public int IncDesExcess
        {
            get { return _incdesexcess; }
            set { _incdesexcess = value; }
        }

        public bool IsMainDriver
        {
            get { return _ismaindriver; }
            set { _ismaindriver = value; }
        }

        public bool IsAddDriver
        {
            get { return _isadddriver; }
            set { _isadddriver = value; }
        }

        public short NoOfDriver
        {
            get { return _noofdriver; }
            set { _noofdriver = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public int CurrentStep
        {
            get { return _currentstep; }
            set { _currentstep = value; }
        }

        public Int64 ViewedDetailId
        {
            get { return _vieweddetailid; }
            set { _vieweddetailid = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }


        public string Info13
        {
            get { return _info13; }
            set { _info13 = value; }
        }

        public string Info14
        {
            get { return _info14; }
            set { _info14 = value; }
        }

        public string Info15
        {
            get { return _info15; }
            set { _info15 = value; }
        }

        public string Info16
        {
            get { return _info16; }
            set { _info16 = value; }
        }

        public string Info17
        {
            get { return _info17; }
            set { _info17 = value; }
        }

        public string Info18
        {
            get { return _info18; }
            set { _info18 = value; }
        }

        public string Info19
        {
            get { return _info19; }
            set { _info19 = value; }
        }

        public string Info20
        {
            get { return _info20; }
            set { _info20 = value; }
        }

        public void ClearFields()
        {
            _cecarpolicyid = 0;
            _cecarid = 0;
            _typeofcoverage = "";
            _coveragecommencedate = new DateTime();
            _ncdpercent = 0.0f;
            _isclaimlastthreeyear = false;
            _isinscoe = false;
            _isdrivemyorth = false;
            _excesspreference = "";
            _isoffdrivecom = false;
            _tpdp = "";
            _isncdprotection = false;
            _ischangeve = false;
            _incdesexcess = 0;
            _ismaindriver = false;
            _isadddriver = false;
            _noofdriver = 0;
            _refceuserid = 0;
            _currentstep = 0;
            _vieweddetailid = 0;
            //common field name
            _status = "";
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _info11 = "";
            _info12 = "";
            _info13 = "";
            _info14 = "";
            _info15 = "";
            _info16 = "";
            _info17 = "";
            _info18 = "";
            _info19 = "";
            _info20 = "";
        }

    }
}
